﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="details.aspx.vb" Inherits="prototype.details" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        text-align: center;
        font-size: xx-large;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">




    <br />

    


    <br />
    <p class="style1"> <strong>Solicitor Profile ! </strong> </p>
    <asp:Panel ID="Panel1" runat="server">

        <br />
        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/list.aspx">Go Back !</asp:HyperLink>
        <br />
        <asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False" 
            BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
            CellPadding="3" DataKeyNames="ID" DataSourceID="SqlDataSource1" 
            ForeColor="Black" GridLines="Vertical" Height="230px" Width="909px" 
            style="text-align: center">
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <Fields>
                <asp:BoundField DataField="FirstName" HeaderText="Name" 
                    SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="Last Name" 
                    SortExpression="LastName" />
                <asp:ImageField DataImageUrlField="LawyerPicture" HeaderText="Picture">
                    <ControlStyle Height="222px" Width="233px" />
                </asp:ImageField>
                <asp:BoundField DataField="Town" HeaderText="Town" SortExpression="Town" />
                <asp:BoundField DataField="Practice" HeaderText="Practice" 
                    SortExpression="Practice" />
                <asp:BoundField DataField="AddedDate" HeaderText="Member Since" 
                    SortExpression="AddedDate" />
                <asp:BoundField DataField="Telephone" HeaderText="Telephone" 
                    SortExpression="Telephone" />
                <asp:BoundField DataField="Address" HeaderText="Address" 
                    SortExpression="Address" />
                <asp:BoundField DataField="Fax" HeaderText="Fax" SortExpression="Fax" />
                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                <asp:BoundField DataField="Website" HeaderText="Website" 
                    SortExpression="Website" />
                <asp:BoundField DataField="Crime" HeaderText="Crime" SortExpression="Crime" />
                <asp:BoundField DataField="CompanyCommercial" HeaderText="Company Commercial" 
                    SortExpression="CompanyCommercial" />
                <asp:BoundField DataField="Conveyancing" HeaderText="Conveyancing" 
                    SortExpression="Conveyancing" />
                <asp:BoundField DataField="CivilLitigationPersonalInjury" 
                    HeaderText="Civil, Litigation, Personal and Injury" 
                    SortExpression="CivilLitigationPersonalInjury" />
                <asp:BoundField DataField="Family" HeaderText="Family" 
                    SortExpression="Family" />
                <asp:BoundField DataField="WillsTrustsProbate" HeaderText="Wills, Trusts and Probate" 
                    SortExpression="WillsTrustsProbate" />
                <asp:BoundField DataField="Employment" HeaderText="Employment" 
                    SortExpression="Employment" />
            </Fields>
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        </asp:DetailsView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PlayersConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:PlayersConnectionString.ProviderName %>" 
            SelectCommand="SELECT * FROM [LawyersDetails] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <br />
        <br />

    <br />
    <br />

	            <asp:CheckBoxList ID="CheckBoxList1" runat="server" 
                    DataSourceID="SqlDataSource" DataTextField="Tag" DataValueField="TagID" 
                    RepeatDirection="Horizontal">
                </asp:CheckBoxList>
                &nbsp;Add new Tag here :<br />
                <asp:TextBox ID="TextBox1" runat="server" Width="378px"></asp:TextBox>
                <asp:SqlDataSource ID="SqlDataSource" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:PlayersConnectionString %>" 
                    ProviderName="<%$ ConnectionStrings:PlayersConnectionString.ProviderName %>" 
                    SelectCommand="SELECT [TagID], [Tag] FROM [Tags]">
                </asp:SqlDataSource>
                <br />
            <br />
            <asp:Button ID="AddTag" runat="server" Text="Endorsed the Lawyer" />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
                <br />
                <br />
    <table align="center" >
        <tr>
            <td colspan="2">
                Add Comment about the Lawyer here
            </td>
        </tr>
        <tr>
            <td >
                Lawyer :
            </td>
            <td >
                <asp:TextBox ID="TB_Title" runat="server" MaxLength="255" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td >
                Comment :
            </td>
            <td >
                <asp:TextBox ID="TB_Comment" runat="server" Height="100px" TextMode="MultiLine" 
                    Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Button ID="btn_submit" runat="server" Text="Add Comment" Width="172px"/>
            </td>
        </tr>
    </table>
    </asp:Panel> 
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/details.aspx">Return to Top</asp:HyperLink>
    <br />

</asp:Content>
